body{
    background-color: #EEF9BF;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

*{
  font-family: 'Roboto', sans-serif;
}

header{
    margin-top: 40px;
    
}

.gameTitle{
    font-weight: 700;
    font-size: 56px;
    line-height: 66px;
    color: rgba(117, 183, 158, 1);
    font-family: 'Roboto', sans-serif;

}

.card {
    width: 117px;
    height: 146px;
    position: relative;
    transition: transform 1s;
    transform-style: preserve-3d;
    cursor: pointer;
    position: relative;
  }

  .face {
    width: 100%;
    height: 100%;
    background-color: #A7E9AF;
    border-radius: 5px;
    /*box-shadow: 1px 1px 1px rgba(0,0,0,.3);*/
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    backface-visibility: hidden;
    transition: all .5s;
    transform-style: preserve-3d;
    box-sizing: border-box;
    border: 1px solid rgba(153, 206, 168, 1);
  }

  .back-face {
    transform: rotateY(180deg);
  }

  .back-face img,
  .front-face img{
    width: 100px;
    height: 100px;
    padding: auto;
  }

  .back-face {
    transform: rotateY(180deg);
  }

  .card .back-face {
    transform: rotateY(0deg);
  }

  .card .front-face {
    transform: rotateY(-180deg);
  }

  .cardsContainer{
    margin-top: 47px;
    display: flex;
    flex-wrap: wrap;
    height: auto;
    gap: 34px;
    max-width: 872px;
    width: auto;
    justify-content: center;
  }

  .timer{
    position: fixed;
    right: 20px;
    top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .time-elapsed{
    background-color: #A7E9AF;
    font-size: 30px;
    font-weight: 600;
    border-radius: 50%;
    height: 40px;
    border: 1px solid #7eac83;
    text-align: center;
    width: 100px;
    color: #5f9c62;
    padding-top: 10px;
    font-family: 'Roboto', sans-serif;
  }

  @media (max-width :335px)
  {
     .gameTitle{
        font-size: 36px;
        text-align: center;
        line-height: 42px;
     }

     .cardsContainer
     {
        flex-wrap: nowrap;
        flex-direction: column;
        margin-top: 36px;
     }

     .timer
     {
        display: none;
     }
  }

  @media (max-width: 550px)
  {
    .gameTitle{
      text-align: center;
    }

    
  }